<?php

namespace zhtfrontend\models\datas;

use Yii;

/**
 * This is the model class for table "{{%lesson_students}}".
 *
 * @property integer $id
 * @property integer $lesson_id
 * @property integer $check_time
 * @property integer $status
 * @property integer $student_id
 * @property integer $t_score
 * @property integer $t_content_type
 * @property string $t_content
 * @property integer $t_fource_type
 * @property string $t_fource
 * @property integer $t_answer_type
 * @property string $t_answer
 * @property integer $t_feedback_score
 * @property integer $s_growth_score
 * @property integer $s_teacher_score
 * @property integer $s_course_score
 * @property integer $s_header_score
 * @property string $s_question
 */
class LessonStudents extends \zhtfrontend\components\bases\BaseModel
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return '{{%lesson_students}}';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['id'], 'required'],
            [['id', 'lesson_id', 'check_time', 'status', 'student_id', 't_score', 't_content_type', 't_fource_type', 't_answer_type', 's_question_second','t_feedback_score', 's_growth_score', 's_teacher_score', 's_course_score', 's_header_score','t_all_score'], 'integer'],
            [['t_content_text','t_content_voice', 't_fource_text','t_fource_voice', 't_answer_text','t_answer_voice', 's_question_text','s_question_voice','t_all_fource','t_all_content'], 'string'],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'id' => Yii::t('zhtfrontend', '编号id'),
            'lesson_id' => Yii::t('zhtfrontend', 'class_lesson关联id'),
            'check_time' => Yii::t('zhtfrontend', '开始上课时间'),
            'status' => Yii::t('zhtfrontend', '学生上课状态'),
            'student_id' => Yii::t('zhtfrontend', '学生id'),
            't_score' => Yii::t('zhtfrontend', '老师对学生本堂课评价（1:加油，2:进步很大，3:很棒，4:完美）'),
            't_content_type' => Yii::t('zhtfrontend', '教师上传本堂课内容形式（0:文字，1：语音）'),
            't_content_text' => Yii::t('zhtfrontend', '教师上传本堂课内容(文字)'),
            't_content_voice' => Yii::t('zhtfrontend', '教师上传本堂课内容(语音)'),
            't_fource_type' => Yii::t('zhtfrontend', '教师课下练习重点形式（0:文字，1：语音）'),
            't_fource_text' => Yii::t('zhtfrontend', '教师课下练习重点内容(文字)'),
            't_fource_voice' => Yii::t('zhtfrontend', '教师课下练习重点内容(语音)'),
            't_answer_type' => Yii::t('zhtfrontend', '教师上传答疑形式（0:文字，1：语音）'),
            't_answer_text' => Yii::t('zhtfrontend', '教师上传答疑内容(文字)'),
            't_answer_voice' => Yii::t('zhtfrontend', '教师上传答疑内容(语音)'),
            't_feedback_score' => Yii::t('zhtfrontend', '教师对学生课下练习反馈的评价（1:加油，2:进步很大，3:很棒，4:完美）'),
            't_all_fource' => Yii::t('zhtfrontend', '一键课下练习重点'),
            't_all_content' => Yii::t('zhtfrontend', '一键本课内容'),
            't_all_score' => Yii::t('zhtfrontend', '一键本课评分'),
            's_growth_score' => Yii::t('zhtfrontend', '学生对成长日志满意度评价'),
            's_teacher_score' => Yii::t('zhtfrontend', '学生对教师的喜爱度评价'),
            's_course_score' => Yii::t('zhtfrontend', '学生对课程的喜爱度评价'),
            's_header_score' => Yii::t('zhtfrontend', '学生对班主任的评价'),
            's_question_second' => Yii::t('zhtfrontend', '学生课下问题反馈秒数'),
            's_question_text' => Yii::t('zhtfrontend', '学生课下问题文字'),
            's_question_voice' => Yii::t('zhtfrontend', '学生课下问题语音'),
        ];
    }
}
